package com.huatai.paas.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huatai.paas.dto.ItemModelMessage;
import com.huatai.paas.dto.UploadFileMessage;
import com.huatai.paas.dto.info.QueryFileListInfo;
import com.huatai.paas.dto.info.QueryModelManagementInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UploadFileMessageMapper extends BaseMapper<UploadFileMessage> {
    List<UploadFileMessage> queryFileMessage();

	List<UploadFileMessage> queryFileMessageByFileId(@Param("query") List<ItemModelMessage> query);

    IPage<QueryFileListInfo> queryFileList(@Param("page") Page<QueryModelManagementInfo> page,@Param("fileType") String fileType);
}
